#ifndef USERFOODORDERLISTWINDOW_H
#define USERFOODORDERLISTWINDOW_H

#include <QWidget>
#include <QListWidget>

#include "FoodOrder.h"
#include "FoodOrderTable.h"
#include "ui_OrderItem.h"
#include "CurrentUser.h"
#include "OrderItem.h"
#include "OrderWindow.h"


namespace Ui {
class UserFoodOrderListWindow;
}

class UserFoodOrderListWindow : public QListWidget
{
    Q_OBJECT

public:
    explicit UserFoodOrderListWindow(QWidget *parent = nullptr);
    ~UserFoodOrderListWindow();

signals:

private:
    Ui::UserFoodOrderListWindow *ui;

private slots:
    void replyShowUserFoodOrderListWindow();    //显示我的订单界面
    void replyQueryOrder(FoodOrder foodOrder);  //回应查询按钮
    void replyDataChange(); //回应数据改变
    void on_freshen_btn_clicked();
};

#endif // USERFOODORDERLISTWINDOW_H
